#include "b2d_common.h"
		
/* thanks openframeworks */
float randomrange(float x, float y) {
	float high = 0;
	float low = 0;
	float randNum = 0;
	// if there is no range, return the value
	if (x == y) return x; 			// float == ?, wise? epsilon?
	high = MAX(x,y);
	low = MIN(x,y);
	randNum = low + ((high-low) * rand()/(RAND_MAX + 1.0)); 
	return randNum;
}